package com.hxminer.hxwebs.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.List;

/**
 * Author YRG
 * Created by on 2018/5/16.
 * Describe 返回的数据
 */

public class ReOrders {


    private String userId;//用户ID

    private String username;//用户名

    private String ordersData;//下单时间

    private String ordersInfo;//订单详情

    private String ordersNo; //订单号

    private Double ordersAllPrice;//总价

    private List<OrderDetails> orderDetailsList;//订单列表详情

    private String orderDetails;

    private String ordersNote;//备注

    private String receiveAddress;//收货地址

    private String receiveName;//收货人

    private String receivePhone;//收货人电话

    private Integer isCompletePay;//是否完成支付 0表示已完成支付，1未完成支付

    public ReOrders() {
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOrdersData() {
        return ordersData;
    }

    public void setOrdersData(String ordersData) {
        this.ordersData = ordersData;
    }

    public String getOrdersInfo() {
        return ordersInfo;
    }

    public void setOrdersInfo(String ordersInfo) {
        this.ordersInfo = ordersInfo;
    }

    public String getOrdersNo() {
        return ordersNo;
    }

    public void setOrdersNo(String ordersNo) {
        this.ordersNo = ordersNo;
    }

    public Double getOrdersAllPrice() {
        return ordersAllPrice;
    }

    public void setOrdersAllPrice(Double ordersAllPrice) {
        this.ordersAllPrice = ordersAllPrice;
    }


    public List<OrderDetails> getOrderDetailsList() {
        return orderDetailsList;
    }

    public void setOrderDetailsList(List<OrderDetails> orderDetailsList) {
        this.orderDetailsList = orderDetailsList;
    }

    public String getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(String orderDetails) {
        this.orderDetails = orderDetails;
    }

    public String getOrdersNote() {
        return ordersNote;
    }

    public void setOrdersNote(String ordersNote) {
        this.ordersNote = ordersNote;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    public Integer getIsCompletePay() {
        return isCompletePay;
    }

    public void setIsCompletePay(Integer isCompletePay) {
        this.isCompletePay = isCompletePay;
    }

    @Override
    public String toString() {
        return "ReOrders{" +
                "userId='" + userId + '\'' +
                ", username='" + username + '\'' +
                ", ordersData='" + ordersData + '\'' +
                ", ordersInfo='" + ordersInfo + '\'' +
                ", ordersNo='" + ordersNo + '\'' +
                ", ordersAllPrice=" + ordersAllPrice +
                ", orderDetailsList=" + orderDetailsList +
                ", orderDetails='" + orderDetails + '\'' +
                ", ordersNote='" + ordersNote + '\'' +
                ", receiveAddress='" + receiveAddress + '\'' +
                ", receiveName='" + receiveName + '\'' +
                ", receivePhone='" + receivePhone + '\'' +
                ", isCompletePay=" + isCompletePay +
                '}';
    }
}
